package a.b.reggie.service;

import a.b.reggie.pojo.AddressBook;
import com.baomidou.mybatisplus.extension.service.IService;

public interface IAddressBookService extends IService<AddressBook> {
    /**
     * 添加地址
     * @param addressBook
     */
    void saveOne(Long phone,AddressBook addressBook);

    /**
     * 修改默认地址
     */
    void setDefault(Long id);

    /**
     * 获取默认地址
     */
    AddressBook getDefault();

}
